package com.chongbangbang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chongbangbang.pojo.PetSickInfo;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * <p>
 * 宠物基本信息之疾病信息 服务类
 * </p>
 *
 * @author TP
 * @since 2022-03-16 15:20:37
 */
public interface PetSickInfoService extends IService<PetSickInfo> {


    /**
     * 根据宠物ID查询其疾病
     * @param petId
     * @return
     */
    List<PetSickInfo> getByPetId(Integer petId);

}
